package org.stu.tp.util;

import java.text.SimpleDateFormat;
import java.util.Date;


public class UtilTools {
	
	/**
	 * return the current time with the format"yyyyMMddHHmmss".
	 * @return
	 */
	public static  String getCurrentTime(){
		String currentTime="";
		
		Date date = new Date();
		SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHHmmss");
		currentTime = formatter.format(date);
		return currentTime;
	}
}
